{extend name="public:common_index"/}
{block name="main"}
    <div class="panel panel-default">
        <div class="panel-heading">
            <h3 class="panel-title"><i class="fa fa-list"></i> {$title}</h3>
        </div>
        <div class="panel-body">
            <div class="navbar navbar-default">
                <form action="" id="search-form2" class="navbar-form form-inline" method="get" onsubmit="return false">

                    <div class="form-group">
                        <label class="control-label" for="input-order-id">设备号(IP)</label>
                        <div class="input-group">
                            <input type="text" name="IMEI" value="{$Think.get.IMEI}" placeholder="设备号"
                                   class="form-control">
                        </div>
                    </div>
                    <button type="submit" onclick="javascript:document.getElementById('search-form2').submit();"
                            id="button-filter search-order" class="btn btn-primary"><i class="fa fa-search"></i> 筛选
                    </button>
                </form>
            </div>
            <div id="ajax_return">
                <form method="post" enctype="multipart/form-data" target="_blank" id="form-order">
                    <div class="table-responsive">
                        <table class="table table-bordered table-hover">
                            <thead>
                            <tr>
                                <td>id</td>
                                <td>设备号(ip)</td>
                                <td>封禁时间</td>
                                <td>操作</td>
                            </tr>
                            </thead>
                            <tbody>
                            <!-- 列表循环开始 -->
                            {volist name="rows" id="row" key="key"}
                            <tr>
                                <td>{$row.id}</td>
                                <td>{$row.IMEI}</td>
                                <td>{$row.create_time}</td>
                                <td>
                                    <span class="btn btn-danger check_del" data-message="" data-url="/user/band_del/id/{$row.id}">删除</span>
                                </td>
                            </tr>
                            {/volist}
                            <!-- 列表循环结束 -->
                            </tbody>
                        </table>
                    </div>
                </form>
            </div>
            <div id='pagerarea'>{$pageHTML}</div>
        </div>
    </div>
<script>
    $.each($('.emojstext'),function (k,v) {
        var $text = $(v);
        var html = $text.html().trim().replace(/\n/g, '<br/>');
        html = jEmoji.softbankToUnified(html);
        html = jEmoji.googleToUnified(html);
        html = jEmoji.docomoToUnified(html);
        html = jEmoji.kddiToUnified(html);
        $text.html(jEmoji.unifiedToHTML(html));
    });

</script>
{/block}





